<template>
     <!-- 头部搜索框 start -->
    <nav class="nav-box">
        <div class="nav-input">
            <input type="text" @focus=" showBtn=true " @blur=" showBtn=false ">
        </div>
        <div v-show="showBtn" class="nav-btn">
            <span>搜索</span>
        </div>
    </nav>
    <!-- 头部搜索框 end -->
</template>
<script>
module.exports = {
    data(){
        return {
            showBtn:false
        }
    }
}
</script>